import { Rule, RuleType } from "@midwayjs/validate";
import { PageDTO } from "@dto/common/page.dto";

// 查询参数
export class ListJobLogDTO extends PageDTO {
  @Rule(RuleType.string())
  jobName?: string;

  @Rule(RuleType.string())
  jobGroup?: string;

  @Rule(RuleType.string())
  status?: string;

  @Rule(RuleType.string())
  'params[beginTime]'?: string;

  @Rule(RuleType.string())
  'params[endTime]'?: string;
}
